package GenericPractice.Practice2_WriteGeneric;

public class Pair<T,K> {
    private T first;
    private K last;

    public T getFirst() {
        return first;
    }

    public void setFirst(T first) {
        this.first = first;
    }

    public K getLast() {
        return last;
    }

    public void setLast(K last) {
        this.last = last;
    }

    public Pair(T first, K last) {
        this.first = first;
        this.last = last;
    }
}
